﻿using Peninsula.DataAccess.POCO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Peninsula.IServices
{
    public  interface IItemTypeService:IBaseService<DataAccess.POCO.ItemType>
    {

        /// <summary>
        /// 是否存在该店面
        /// </summary>
        /// <param name="itemType"></param>
        /// <returns></returns>
        bool IsExitItemTyoe(ItemType itemType);
        /// <summary>
        /// 根据id删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool DeleteById(string id);

    }
}
